package edu.bbu.bibliospring.rsclient;

import edu.bbu.bibliospring.common.dto.AuthorDto;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * Created by anna on 6/16/14.
 */
@XmlRootElement
public class Authors {

    private List<AuthorDto> authorDtoList;

    @XmlElementWrapper(name = "authorsList")
    @XmlElement(name = "authors")
    public List<AuthorDto> getAuthorDtoList() {
        return this.authorDtoList;
    }

    public void setAuthorDtoList(List<AuthorDto> authorDtoList) {
        this.authorDtoList = authorDtoList;
    }
}
